<template>
  <WebTerminal v-if="ftp_id" :ftp_id="ftp_id"/>
</template>
<script setup lang="ts">
import {defineAsyncComponent, ref} from "vue";
import {useRoute} from "vue-router";

const WebTerminal = defineAsyncComponent(() => import('@/components/WebTerminal.vue'))

const route = useRoute()
const ftp_id = ref<string>(String(route.query.id || ''))
</script>
